package J_exercise;

public class Q40_Poet {
	private String mno;
	private String title;
	private String writer;
	public Q40_Poet () {}
	public Q40_Poet (String mno,String title,String writer) 
	{
		this.mno=mno;this.title=title;this.writer=writer;
	}
	public void setMno(String mno){this.mno=mno;}
	public void setTitle(String title){this.title=title;}
	public void setWriter(String writer){this.writer=writer;}
	public String getMno(){return this.mno;}
	public String getTitle(){return this.title;}
	public String getWriter(){return this.writer;}
	
	public int getLastFees(int days)
	{
		return days*400;
	}
}
